import request from '@/utils/request'

// 查询保密协议列表
export function listDealNda(query) {
  return request({
    url: '/nda/dealNda/list',
    method: 'get',
    params: query
  })
}

// 查询保密协议详细
export function getDealNda(id) {
  return request({
    url: '/nda/dealNda/' + id,
    method: 'get'
  })
}

// 保存保密协议
export function saveDealNda(data) {
  return request({
    url: '/nda/dealNda/save',
    method: 'post',
    data: data
  })
}

// 删除保密协议
export function delDealNda(id) {
  return request({
    url: '/nda/dealNda/' + id,
    method: 'delete'
  })
}

// 导出保密协议
export function exportDealNda(query) {
  return request({
    url: '/nda/dealNda/export',
    method: 'get',
    params: query
  })
}
